package com.think.common.utils.annotation;

public enum OperateType {
	Delete(10000,"删除对象"),
	Update(10001,"更新对象"),
	ADD(10002,"新建对象");
	
	private Integer code;
	private String msg;
	OperateType(Integer code,String msg){
		this.setCode(code);
		this.setMsg(msg);
	}
	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}
	/**
	 * @param msg the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}
	/**
	 * @return the code
	 */
	public Integer getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(Integer code) {
		this.code = code;
	}
	

}
